<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Album
 * @copyright  Copyright 2006-2010 Webligo Developments
 * @license    http://www.socialengine.net/license/
 * @version    $Id: Level.php 7486 2010-09-28 03:00:23Z john $
 * @author     Jung
 */

/**
 * @category   Application_Extensions
 * @package    Album
 * @copyright  Copyright 2006-2010 Webligo Developments
 * @license    http://www.socialengine.net/license/
 */
class Visits_Form_Admin_Settings_Level extends Authorization_Form_Admin_Level_Abstract
{
  public function init()
  {
    parent::init();

    // My stuff
    $this
      ->setTitle('Member Level Settings')
      ->setDescription('ALBUM_FORM_ADMIN_LEVEL_DESCRIPTION');

    // Element: view
    $this->addElement('Radio', 'view', array(
      'label' => 'Allow Members to use Visits Plugin?',
      'description' => 'Do you want to let members to see Who viewed them and Who they Viewed? If set to no, members can\'t see Who Viewed them or Who they Viewed.',
      'multiOptions' => array(
        1 => 'Yes, allow members to see Who viewed them and Who they Viewed.',
        0 => 'No, do not allow members to see Who viewed them or Who they Viewed.'
      ),
      'value' => 1,
    ));

  }
}